#demoCanvas{
  //width: 100%;
  //margin-left: 50%;
  //transform:translateX(-50%);
  border-color: #000001;
}
body{
  text-align:center;
  margin: 0;
  background-color:whitesmoke;
}
.uper{
  position:relative;
  margin-bottom: 10px;
  margin-top: 10px;
  width: 100%;
  height: 50px;
}
.ion-share{
  position: absolute;
  width: 11.25%;
  left: 10px;
  max-width: 50px;
  min-width: 36px;
  max-height: 50px;
  background-repeat: no-repeat;
  top:50%;
  transform:translateY(-50%);
}
.output{
  position:absolute;
  color:orangered;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border:1px solid;
  border-radius: 10px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  padding:5px;
}
.ion-reset{
  position: absolute;
  width: 11.25%;
  right: 10px;
  max-width: 50px;
  min-width: 36px;
  max-height: 50px;
  background-repeat: no-repeat;
  top:50%;
  transform:translateY(-50%);
}
.titl{
  text-align: center;
  margin-top: -10px;
}
.footer{
  position:relative;
  top: 20px;
  height: 50px;
  width:100%;
}
.ion-swap{
  position: absolute;
  width: 11.25%;
  left: 40px;
  max-width: 50px;
  min-width: 36px;
  max-height: 50px;
  background-repeat: no-repeat;
  color:#4b8bf4;
}
.settings{
  position:absolute;
  color:orangered;
  left:50%;
  transform:translateX(-50%);
  width: 11.25%;
  max-width: 50px;
  min-width: 36px;
  max-height: 50px;
  background-repeat: no-repeat;
}
.ion-strong{
  position:absolute;
  right: 40px;
  color:#4b8bf4;
  width: 11.25%;
  max-width: 50px;
  min-width: 36px;
  max-height: 50px;
  background-repeat: no-repeat;
}
.cover{
  z-index: 11;
  width:80%;
  height: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  border: 1px solid #f5f5f5;
  background-color: #F2F2F2;
  display: none;
  border-radius:5px;
  .share{
    margin-top: -60px;
    background-color: #009037;
  }

  .replay{
    background-color: #00A0DF;
  }

  .cancel{
    margin-top: 60px;
    background-color: #AF61A3;
  }

  .but{
    z-index: 12;
    color: white;
    line-height: 50px;
    text-align: center;
    border: 1px solid #f5f5f5;
    border-radius:5px;
    width:80%;
    height: 50px;
    position: absolute;
    transform:translate(-50%,-50%);
    left:50%;
    top:50%;
  }
}

#win-box{
  .share{

    margin-top: -30px;
  }
  .continue{
    background-color: #FCCB00;
    margin-top: 30px;
  }
}

#back-cover{
  display: none;
  width: 100%;
  height: 100%;
  background-color: #FAF1E2;
  z-index: 10;
  opacity: 0.5;
  top:0;
  position: absolute;
}

#share-cover{
  display:none;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 18;
  top:0px;
  opacity: 0.8;
  position: absolute;
  img{
    width: 80%;
    top:5px;
    position: absolute;
    right: 5px;
  }
}